Skip to content

discord-supporter: Add README.md for setting up the bot - #653

Merged
kou merged 1 commit into
enactic:mainfrom
kou:discord-supporter-readme
Nov 9, 2026
Merged

kou merged 1 commit into
enactic:mainfrom
kou:discord-supporter-readme

Conversation

@kou

@kou kou commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The bot setup wasn't documented anywhere. SKILL.md only says that the scripts need DISCORD_TOKEN.

Add README.md for humans who set up the bot: creating the application, enabling Message Content Intent, the permissions to invite the bot with, setting DISCORD_TOKEN, the environment variables, and how to check the setup. SKILL.md doesn't link to it because Claude Code can't set up the bot by itself.

Also point to README.md in the error message when DISCORD_TOKEN is not set, so that it can be found when the token is missing.

The bot setup wasn't documented anywhere. `SKILL.md` only says that the
scripts need `DISCORD_TOKEN`.

Add `README.md` for humans who set up the bot: creating the application,
enabling Message Content Intent, the permissions to invite the bot with,
setting `DISCORD_TOKEN`, the environment variables, and how to check the
setup. `SKILL.md` doesn't link to it because Claude Code can't set up the
bot by itself.

Also point to `README.md` in the error message when `DISCORD_TOKEN` is
not set, so that it can be found when the token is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 9, 2026 05:37
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to run its full agentic suite in this review.

Copilot review overview

2 open issues
What changed in this PR

Improves setup ergonomics for the Discord supporter skill by adding human-focused setup documentation and making token misconfiguration errors point directly to it.

Changes:

  • Added a new .claude/skills/discord-supporter/README.md with bot setup and troubleshooting instructions.
  • Updated the DISCORD_TOKEN missing error to reference the new README for faster remediation.
File Description
.claude/​skills/​discord-supporter/​scripts/​discord_api.py Enhances the missing-token exit message to direct users to the setup README.
.claude/​skills/​discord-supporter/​README.md Adds end-to-end bot setup, env var reference, and verification steps.

Review effort: Lite

Comment on lines +42 to +46
| Variable | Description | Default |
|---|---|---|
| `DISCORD_TOKEN` | Bot token | (required) |
| `DISCORD_GUILD_ID` | Server ID | `1339899404546740275` (OpenArm) |
| `DISCORD_SUPPORTER_STATE` | Path of the state file | `state.json` in this directory |
Comment on lines +39 to +40
"DISCORD_TOKEN is not set "
"(see .claude/skills/discord-supporter/README.md)"
@kou
kou merged commit 365aab7 into enactic:main Nov 9, 2026
4 checks passed
@kou
kou deleted the discord-supporter-readme branch November 9, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants